home *** CD-ROM | disk | FTP | other *** search
- Short: BOOPSI pop-up, cycle and button gadget
- Author: tanti@intercom.it (Massimo Tantignone)
- Uploader: tanti@intercom.it (Massimo Tantignone)
- Version: 40.17
- Type: dev/gui
- Requires: AmigaOS 3.0+
-
- select.gadget 40.17 (7.6.2000) by Massimo Tantignone
-
- The select.gadget is a shared library which, when opened, adds to the system
- a public BOOPSI gadget class called "selectgclass". This class implements a
- button-like selection gadget, with features similar to those of a traditional
- GadTools cycle gadget, but with the additional ability to open, when pressed,
- a pop-up menu which allows the user to pick his choice more easily.
-
- The look and behavior of the gadget and its pop-up menu can be configured
- using the attribute tags of the class.
-
- The library is freeware; if you use it, you are allowed to distribute it
- with your software.
-
- Some highlights:
-
- - A delay can be set for the appearance of the pop-up menu, allowing for a
- gadget which reacts like a normal cycle gadget upon "quick" clicks, and
- like a pop-up gadget if the mouse button is kept pressed a little longer.
-
- - The pop-up menu can appear and disappear with a vertical "zoom" effect
- whose duration is configurable.
-
- - It is optionally possible to have a "sticky" pop-up menu which remains
- open when the mouse button is released.
-
- - The gadget can be made "quiet", that is, the currently selected item can be
- not displayed. Useful to attach a small pop-up button to string gadgets.
-
- - The gadget can be configured to always behave like a cycle gadget, and
- even like a plain button gadget.
-
- - The gadget can broadcast changes in its value to target objects via the
- BOOPSI notification system.
-
- - All changes done with SetGadgetAttrsA() to the gadget's position, size
- and look are visually executed in real-time.
-
- - The gadget's dispatcher is able to swap the stack when needed.
-
- - The gadget can be added to requesters and window borders.
-
- - The pop-up menu can have a drop shadow.
-
- - The gadget's "pop-up" symbol can be placed at the left side, at the right
- side, or it can also not appear at all; its width is also configurable.
- The gadget's default imagery for the symbol is fully scalable, and it can
- be replaced by the application with a custom image.
-
- - The default values for unspecified attributes can be globally set by the
- user with an ASCII preferences file; the changes are applied in real-time
- (to gadgets created afterwards) via file notification.
-
- Furthermore, the library offers some functions which allow to "transform"
- a normal gadget into a custom gadget having (almost) the same features of
- the "selectgclass" gadgets.
-
- This way it's possible, for example, to create GadTools GENERIC_KIND gadgets
- and turn them into pop-up gadgets, obtaining all the benefits of this type
- of gadgets while also keeping the benefits of the GadTools automatic gadget
- creation (and deletion) system.
-
- Lastly, this gadget class supports VisualPrefs and takes full advantage of
- the graphic enhancements it brings to the system.
-
- Changes since version 40.16:
-
- · Now the pop-up menu panel shows a real drop shadow (not dithered)
- on hicolor and truecolor screens.
-
- · Now the pop-up menu panel can have a transparency effect on hicolor
- and truecolor screens.
-
- · The background is visible again through corners of the menu panel
- when the "round edges" option of VisualPrefs is active.
-
- Changes since version 40.15:
-
- · Fixed a deadlock problem likely to happen when many gadgets of
- this class were rendered simultaneously by different processes
- (and in some other rare circumstances).
-
- Author:
-
- Massimo Tantignone
- Via Campagnoli, 4
- 28100 Novara (NO)
- ITALY
-
- E-mail: tanti@intercom.it
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 25884 15395 40.5% 20-Jun-00 10:38:34 +select.gadget
- 270 161 40.3% 15-Jun-00 12:35:18 +select.prefs
- 715 287 59.8% 12-May-98 10:30:34 +selectgadget_protos.h
- 2266 717 68.3% 15-Jun-00 12:34:00 +select.h
- 462 177 61.6% 12-May-98 10:56:52 +selectgadget_pragmas.h
- 210 139 33.8% 12-May-98 10:58:54 +selectgadget.h
- 4810 1425 70.3% 26-May-98 20:21:46 +Install
- 681 344 49.4% 26-May-98 23:17:14 +Install.info
- 2552 1032 59.5% 15-Jun-00 12:31:52 +ReadMe.user
- 464 213 54.0% 26-May-98 12:24:12 +ReadMe.user.info
- 45860 13844 69.8% 16-Jun-00 11:33:34 +select.doc
- 464 212 54.3% 16-May-98 15:47:34 +select.doc.info
- 49010 14484 70.4% 16-Jun-00 11:34:02 +select.guide
- 468 226 51.7% 26-May-98 23:17:14 +select.guide.info
- 324 207 36.1% 12-May-98 10:28:34 +selectgadget_cl.fd
- 9516 5951 37.4% 15-Jun-00 12:41:16 +SelGadgTest
- 9471 2266 76.0% 15-Jun-00 12:39:22 +SelGadgTest.c
- 464 227 51.0% 26-May-98 23:17:14 +SelGadgTest.c.info
- 454 188 58.5% 26-May-98 23:17:46 +SelGadgTest.info
- 9412 5990 36.3% 15-Jun-00 12:41:30 +SGCustomTest
- 7311 2179 70.1% 15-Jun-00 12:40:20 +SGCustomTest.c
- 464 223 51.9% 26-May-98 23:17:14 +SGCustomTest.c.info
- 454 191 57.9% 26-May-98 23:17:14 +SGCustomTest.info
- 1220 412 66.2% 21-Jul-99 11:22:52 select_gc.info
- -------- ------- ----- --------- --------
- 173206 66490 61.6% 26-Jun-100 07:33:36 24 files
-